from launch import LaunchDescription
from launch_ros.actions import Node

#这个接口
def generate_launch_description():
    #定义需要启动的第一个节点对象
    node_01=Node(package="node_namespace",namespace="instance_1",executable="node_01")
    node_02=Node(package="node_namespace",namespace="instance_2",executable="node_01")
    launch_description=LaunchDescription([node_01,node_02])
    return launch_description
